import request from "@/utils/request";
// 更新信息
export function getList(data) {
    return request({
      url: "/pool/list",
      method: "get",
      params: data
    });
  }
  // 更新信息
export function getList1(data) {
    return request({
      url: "/price/list",
      method: "get",
      data: data
    });
  }
  // 创建信息
export function addSure(data) {
    return request({
      url: "/pool",
      method: "post",
      data: data
    });
  }
    // 创建信息
export function edSure(data) {
    return request({
      url: "/pool",
      method: "put",
      data: data
    });
  }
export function giveList(data) {
    return request({
      url: `/pool/record/list/${data}`,
      method: "get",
    });
}
export function gaveList(data) {
  return request({
    url: `/pool/receive/list/${data}`,
    method: "post",
  });
}
    // 创建信息
    export function receSure(data) {
      return request({
        url: "/pool/receive",
        method: "post",
        data: data
      });
    }